package com.lianrui.app.goods.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.lianrui.app.goods.domain.Goods;
import com.lianrui.app.goods.vos.GoodsPage;
import com.lianrui.commons.exception.BusinessException;
import com.lianrui.core.IService;

/**
 * 功能描述：商品服务接口
 *
 * @author LJQ
 *
 *         2016年1月5日 上午10:27:37
 */
@Service
public interface IGoodsService extends IService<GoodsPage, Goods, Integer> {
    // 获取n个推荐产品
    public List<Goods> recommendGoods(int num) throws BusinessException;

    public int getOrderItemCount(Integer orderId) throws BusinessException;

}
